<template>
  <div>
    <h2>App:{{ value }}</h2>
    <ChildrenVue
      :value="value"
      @input="value = $event"
      @test="test"
    ></ChildrenVue>
  </div>
</template>

<script>
import ChildrenVue from './components/children.vue'
export default {
  name: 'App',
  data() {
    return {
      value: '5',
    }
  },
  components: {
    ChildrenVue,
  },
  methods: {
    test() {
      console.log(arguments)
    },
  },
}
</script>

<style></style>
